﻿using HZU.ZP.Domain.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace HZU.ZP.Domain.IService
{
    public interface IPositionService
    {
        bool Add(Position position);
        bool Update(Position position);
        bool Delete(int id);
        Position GetById(int id);
        IList<Position> GetPositionList(int companyId, int status);
        /// <summary>
        /// 根据条件筛选职位
        /// </summary>
        /// <param name="sql"></param>
        /// <returns></returns>
        IList<Position> GetPositionList(string sql);
        int GetPositionCount(string sql);
    }
}
